package com.iot.comprehensive.face.dao;

import com.iot.comprehensive.face.model.Record;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 朱泽玉
 * @Create 2021/7/4 12:18
 * @Description
 * @Modified By:
 */
@Repository
public interface RecordDao extends JpaRepository<Record,Integer>, JpaSpecificationExecutor<Integer> {
    public List<Record> findByAccount(Long account_id);

    public List<Record> findByMethod(String method);
}
